using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter36
{
	/// <summary>
	/// Example05: The Image from a Convex Mirror
	/// An anti-shoplifing mirror, as shown in Figure 36.17, 
	/// shows an image of a woman who  is located 3.0 m from 
	/// the mirror. The focal length of the mirror is -0.25 m. 
	/// Find
	/// (A)	the position of her image and
	/// (B)	the magnification of the image.
	/// </summary>
	public class Example05
	{
		public Example05()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Mirror m = new L.Mirror();
			m.FocalLength = -0.25;
			m.ObjectDistance = 3.0;
			m.FindImageDistance();
			result+=Convert.ToString(m.ImageDistance)+"\r\n";        
		}
	}
}
